package com.milo.controller;

import com.milo.sender.TopicSender;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author Milo Lee
 * @date 2021-06-07 16:07
 */
@RestController
public class Topic {

    @Resource
    private TopicSender topicSender;

    @GetMapping(value="topic")
    public void topic(){
        topicSender.send();
    }
}
